home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_400
/
414_01
/
makefile
< prev
next >
Wrap
Makefile
|
1993-11-29
|
25KB
|
629 lines
#
#########################################################################
#
# makefile for The Hessling Editor (THE)
#
#########################################################################
#
# THE - The Hessling Editor. A text editor similar to VM/CMS xedit.
# Copyright (C) 1991-1993 Mark Hessling
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of
# the License, or any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to:
#
# The Free Software Foundation, Inc.
# 675 Mass Ave,
# Cambridge, MA 02139 USA.
#
#
# If you make modifications to this software that you feel increases
# it usefulness for the rest of the community, please email the
# changes, enhancements, bug fixes as well as any and all ideas to me.
# This software is going to be maintained and enhanced as deemed
# necessary by the community.
#
# Mark Hessling email: M.Hessling@gu.edu.au
# 36 David Road Phone: +61 7 849 7731
# Holland Park Fax: +61 7 875 5314
# QLD 4121
# Australia
#
#########################################################################
#
# The available features of curses library are different on just about
# every machine. System V curses has more features that BSD curses, so if
# your system gives you a choice of curses libraries, use the System V one.
# The later the version of your System V operating system, the more features
# are supplied in the curses library and the more features THE can use.
# To help you determine which of the options below should be used, then
# the following will help.
#
# Determine where your curses.h file is located. It is generally in
# /usr/include or /usr/5include.
# Once you know the location of curses.h, run the following commands:
#
# grep A_COLOR /usr/include/curses.h (or whereever your curses.h file is)
# If this results in any output, then use the System V R3.2 section.
# next try:
# grep attrset /usr/include/curses.h (or whereever your curses.h file is)
# If this results in any output, then use the System V R3.1 section.
# If neither of these commands resulut in any output, then I'm affraid you
# will have to use the BSD option.
#
# If when you compile and link THE, you get errors, then you might have to
# come down one version. eg If you used the System V R3.2 section and got
# errors, try using the System V 3.1 section.
#
#########################################################################
#
# THE is REXX-aware under all platforms; DOS, OS/2 and Unix.
# By default, the OS/2 REXX support is enabled when compiling with the
# C Set/2 compiler, as this is the only platform where one is almost
# guaranteed to have REXX support available.
#
# To enable REXX support under Unix you need to do the following:
# - obtain version 0.05d or later of Regina from flipper.pvv.unit.no
# in /pub/rexx. The file is called regina-0.05d.tar.Z
# you can also get Regina from rexx.uwaterloo.ca in /pub/freerexx/regina
# - check the README file to see if your platform is supported.
# if it isn't, then ignore the rest of these instructions :-)
# - build regina as per its instructions
# this should result in a rexx executable file and a libregina.a file
# - copy rexxsaa.h from the regina src directory into the THE source
# directory. Also copy libregina.a from the regina src directory into
# the THE source directory. You may need to run ranlib again on the
# libregina.a file)
# - append to the LD variable "-L. -lregina"
# - append to the CFLAGS variable "-DUSE_REGINA"
# - remove "-DNOREXX" from the CFLAGS variable
# - copy/move the rexx executable into a directory in your PATH
#
#########################################################################
#$Header: C:\THE\RCS\makefile 1.4 1993/09/01 16:26:39 MH Interim MH $
#########################################################################
VER = 15
PROJ = proj # this will get replaced by uncommenting a section
MAN = man # this will get replaced by uncommenting a section
#########################################################################
# Borland C++ 2.0 and above compiler on DOS - with Personal REXX (incomplete)
#########################################################################
#SRC = c:/the
#PROJ = the.exe
#OBJ = obj
#CC = bcc
#CURSINC = -Ic:/curses
#CFLAGS = -O -d -K -w-aus -w-par -ml -DPROTO -DUSE_QUERCUS -I$(SRC) $(CURSINC)
#LD = tlink @dos-trc.rsp
#XTRAOBJ = getopt.obj rxiface.obj
#MAN = manext.exe
#MANLD = tlink /c /Td c:\c\lib\c0l+manext+getopt+c:\c\lib\wildargs,manext,,c:\c\lib\cl.lib
#CHMODTHE =
#CHMODMAN =
#########################################################################
# Borland C++ 2.0 and above compiler on DOS - without Personal REXX
#########################################################################
#SRC = c:/the
#PROJ = the.exe
#OBJ = obj
#CC = bcc
#CURSINC = -Ic:/curses
#CFLAGS = -O -d -K -w-aus -w-par -ml -DPROTO -DNOREXX -I$(SRC) $(CURSINC)
#LD = tlink @dos-trcx.rsp
#XTRAOBJ = getopt.obj
#MAN = manext.exe
#MANLD = tlink /c /Td c:\c\lib\c0l+manext+getopt+c:\c\lib\wildargs,manext,,c:\c\lib\cl.lib
#CHMODTHE =
#CHMODMAN =
#########################################################################
# MSC 6.0ax compiler on DOS
#########################################################################
#SRC = c:/the
#PROJ = the.exe
#OBJ = obj
#CC = cl
#CURSINC = -Ic:/curses
#CFLAGS = -O -J -EM -AL -DSTDC_HEADERS -DPROTO -DNOREXX -I$(SRC) $(CURSINC)
#LD = link @dos-msc.rsp
#XTRAOBJ = getopt.obj
#MAN = manext.exe
#MANLD = link manext+getopt+c:\c600\lib\setargv,,,c:\c600\lib\Llibce /CO /NOE /NOI /NOD;
#CHMODTHE =
#CHMODMAN =
#########################################################################
# djgpp compiler on DOS - no REXX (should be complete with djgpp 1.11)
#########################################################################
#SRC = c:/the
#PROJ = the
#OBJ = o
#CC = gcc
#CURSINC = -Ic:/curses
#CURSLIB = c:/djgpp/curses/curseso.a
#REXXINC =
#REXXLIB =
#CFLAGS = -O -D__MSDOS__ -DSTDC_HEADERS -DNOREXX -DPROTO -I$(SRC) $(CURSINC) -o$*.o
#LD = $(CC) -o $(PROJ) @dos-go32.rsp -Lc:/djgpp/lib $(CURSLIB)
#XTRAOBJ =
#MAN = manext
#MANLD = $(CC) -o manext manext.o -Lc:/djgpp/lib
#CHMODTHE = aout2exe $(PROJ)
#CHMODMAN = aout2exe $(MAN)
#########################################################################
# djgpp compiler on DOS with Regina 0.05i (should be complete with djgpp 1.11)
#########################################################################
#SRC = c:/the
#PROJ = the
#OBJ = o
#CC = gcc
#CURSINC = -Ic:/curses
#CURSLIB = c:/djgpp/curses/curseso.a
#REXXINC = -If:/regina-d/src
#REXXLIB = -Lf:/regina-d/src -lrexx -lsaa -lrexx
#CFLAGS = -O -D__MSDOS__ -DSTDC_HEADERS -DUSE_REGINA -DPROTO -I$(SRC) $(CURSINC) $(REXXINC) -o$*.o
#LD = $(CC) -O -o $(PROJ) @dos-go32.rsp -Lc:/djgpp/lib $(CURSLIB) $(REXXLIB)
#XTRAOBJ =
#MAN = manext
#MANLD = $(CC) -o manext manext.o -Lc:/djgpp/lib
#CHMODTHE = aout2exe $(PROJ)
#CHMODMAN = aout2exe $(MAN)
#########################################################################
# MSC 6.0ax compiler on OS/2
#########################################################################
#SRC = c:/the
#PROJ = the.exe
#OBJ = obj
#CC = cl
#CURSINC = -Ic:/curses
#CFLAGS = -O -J -EM -AL -D__OS2__ -DSTDC_HEADERS -DPROTO -DUSE_OS2_H -I$(SRC) $(CURSINC)
#LD = link @os2-msc.rsp
#XTRAOBJ = getopt.obj
#MAN = manext.exe
#MANLD = link manext+getopt+c:\c600\os2lib\setargv,,,c:\c600\o